package com.wolfpire.system.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "t_subject_lessonplan")
public class SubjectLessonPlanRelation implements Serializable {

	/**
	 * 学科教案实体
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false, length = 32)
	private Long id;
	
	@Column(name = "subject_id", length = 32)
	private Long subjectId;
	
	@Column(name = "lessonplan_id", length = 32)
	private Long lessonplanId;

	@Column(name = "knowledge_id", length = 32)
	private Long knowledgeId;
	
	public SubjectLessonPlanRelation() {
		super();
		// TODO Auto-generated constructor stub
	}

	public SubjectLessonPlanRelation(Long subjectId, Long lessonplanId) {
		super();
		this.subjectId = subjectId;
		this.lessonplanId = lessonplanId;
	}

	public SubjectLessonPlanRelation(Long subjectId, Long lessonplanId,
			Long knowledgeId) {
		super();
		this.subjectId = subjectId;
		this.lessonplanId = lessonplanId;
		this.knowledgeId = knowledgeId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}

	public Long getLessonplanId() {
		return lessonplanId;
	}

	public void setLessonplanId(Long lessonplanId) {
		this.lessonplanId = lessonplanId;
	}

	public Long getKnowledgeId() {
		return knowledgeId;
	}

	public void setKnowledgeId(Long knowledgeId) {
		this.knowledgeId = knowledgeId;
	}

	
}
